package main;

import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;

import controller.ATM;

/** driver program for the ATM
 * @author Matthias
 * 
 */
public class MainATM {
	
	/**
	 * 
	 */
	public MainATM() { }
	
	/**
	 * @param args
	 * main method creates and runs the ATM
	 */
	public static void main(final String[] args) {
		try {
		    for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
		        if ("Nimbus".equals(info.getName())) {
		            UIManager.setLookAndFeel(info.getClassName());
		            break;
		        }
		       
		    }		    
		} catch (Exception e) {
		}
		ATM main = new ATM();
		main.run();
	} // end main	
	
} // end class MainATM